import { createDecorator } from 'vue-class-component'

export const NoCache = createDecorator((options:any, key) => {
    // component options should be passed to the callback
    // and update for the options object affect the component
    options.computed[key].cache = false
})